home *** CD-ROM | disk | FTP | other *** search
/ Catch That Kid Press Kit / Catch That Kid Press Kit.iso / pc / notes / cast.swf / scripts / frame_2 / DoAction_6.as < prev    next >
Encoding:
Text File  |  2003-12-16  |  395 b   |  24 lines

  1. function isFlashPaperDocument()
  2. {
  3.    return true;
  4. }
  5. function onPageChanged(newPageNumber)
  6. {
  7. }
  8. function getCurrentPage()
  9. {
  10.    return model.currentPage;
  11. }
  12. function setCurrentPage(pageNumber)
  13. {
  14.    model.setPage(pageNumber);
  15. }
  16. function getNumberOfPages()
  17. {
  18.    return model.numPages();
  19. }
  20. function hidePrevNextUI(flag)
  21. {
  22.    toolbar_mc.controls_mc.prevNext_mc._visible = flag;
  23. }
  24.